import request from "../request";
import requestUrl from "../requestUrl";
import requestParam from "../requestParam";

// 获取用户信息
export function getDemo1Data() {
  return request({
    url: requestUrl("/sys/demo1/data"),
    method: "post",
    data: requestParam()
  });
}

// 获取树形菜单数据
export function getTreeData() {
  return request({
    url: requestUrl("/sys/demo/tree"),
    method: "post",
    data: requestParam()
  });
}
